<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理平台</title>
<link href="../Public/css/index.css" type="text/css" rel="stylesheet"/>
<script Language="JavaScript" src="../Public/js/get.js"></script> 
<script Language="JavaScript" src="../Public/js/time.js"></script>
<script Language="JavaScript" src="../Public/js/md5.js"></script>
<script Language="JavaScript" src="../Public/js/com_function.js"></script>
<script language="javascript" src="../Public/js/artDialog/artDialog.js?skin=default.css"></script>
<script language="javascript" src="../Public/js/artDialog/plugins/iframeTools.source.js"></script>
<script language="javascript" >
function test(){
	//alert('test');
	art.dialog.open("nav.html",{title:"登陆",width:"450px",height:"300px",fixed:true,drag: false,resize: false,lock:true,opacity: 0.50});	
}
</script>
</head>
<body>
<input id="rpc_session_id" type="hidden" value="{$_SESSION['rpc_session_id']}"/>
<div class="user_top">
   <div class="user_name left"><img src="../Public/images/name.gif"/></div>
   <div class="user left">欢迎您！<a href="http://{$_SERVER['HTTP_HOST']}/index.php/User/getUserInfo">{$_SESSION['name']}</a><a href="http://{$_SERVER['HTTP_HOST']}/index.php/User/logout">退出</a></div>
</div>
<div class="user_box">
  <div class="user_nav left">
    <div class="nav_tit"></div>
    <div class="nav_list left">
    	<span class="list_s"><img src="../Public/images/home.gif"/><a href="http://{$_SERVER['HTTP_HOST']}/index.php/User/userLogin">首页</a></span>
    	<span><img src="../Public/images/nav_line.gif"/></span>
    	<php>$powers=json_decode($_SESSION['navi'], true)</php>
    	<foreach name="powers" item="power_each">
    		<span class="list_s"><img src="{$power_each['img_url']}"/>{$power_each['power_name']}</span>
    		<foreach name="power_each['son']" item="power_son_each">
    			<span><img src="{$power_son_each['img_url']}"/></span>
		       <ul>
		         <li class="list_d"><a href="http://{$_SERVER['HTTP_HOST']}/{$power_son_each['power_url']}">{$power_son_each['power_name']}</a></li>
		       </ul>
    		</foreach>
    	</foreach>
    </div>
  </div> 